If there is a second column present then populate second column values else populate first column va